package com.sfac.springBoot.module.account.dao;

import com.sfac.springBoot.module.account.pojo.Resource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * personal demo
 **/

@Mapper
@Repository
public interface ResourceDao {

    @Select("select * from account_resource where ")
    List<Resource> getResourcesByRoleId(Integer id);
}
